<?php

/**
 * Othertextmedium form.
 *
 * @package    briefingPropel
 * @subpackage form
 * @author     Your name here
 */
class OthertextmediumForm extends BaseOthertextmediumForm
{
  public function configure()
  {
    parent::configure();
    
//    unset(
//            $this['_csrf_token']
//    );
    
    $this->widgetSchema->setLabels(array(
        'idOtherTextMedium' => 'id other text media',
        'name' => 'Name'
        ));
    
    //check box for the JQuery
    $this->widgetSchema['otherText'] = new sfWidgetFormInputCheckbox(array(
        'label' => 'Other media',   
    ));
    $this->validatorSchema['otherText'] = new sfValidatorPass(array(
        'required' => false
    ));
    
  }
}
